package com.beans;

/**
 * 
 * @author CHENHAILIAN6
 *
 */
public class ClaimLoanBean {
	VendorBean vendorBean;
	ClaimHeadInfoBaseBean baseBean;
	String currency = "CNY";
	String paymentMode = "1";
	String capitalPlan = "";
	String loadType;
	//String certificateNo = "";
	//String glDate = "";
	int attachNum = 0;
	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getPaymentMode() {
		return paymentMode;
	}

	public void setPaymentMode(String paymentMode) {
		this.paymentMode = paymentMode;
	}

	public String getCapitalPlan() {
		return capitalPlan;
	}

	public void setCapitalPlan(String capitalPlan) {
		this.capitalPlan = capitalPlan;
	}

	public String getLoadType() {
		return loadType;
	}

	public void setLoadType(String loadType) {
		this.loadType = loadType;
	}

/*	public String getCertificateNo() {
		return certificateNo;
	}

	public void setCertificateNo(String certificateNo) {
		this.certificateNo = certificateNo;
	}

	public String getGlDate() {
		return glDate;
	}

	public void setGlDate(String glDate) {
		this.glDate = glDate;
	}
*/
	

	public ClaimLoanBean(ClaimHeadInfoBaseBean baseBean,VendorBean vendorBean) {
		this.baseBean = baseBean;
		this.vendorBean = vendorBean;
	}
	

	public String toJSONString() {
		String vendorCode = vendorBean.getVendorCode();
		String vendorName = vendorBean.getVendorName();
		String vendorType = vendorBean.getVendorType();
		String vendorSiteName = vendorBean.getVendorSiteName();
		return baseBean.toJSONString() + ", \"currency\":" + currency
				+ "\", \"paymentMode\":" + paymentMode + "\", \"capitalPlan\":" + capitalPlan + "\", \"loadType\"" + loadType
				+ "\",\"vendorCode\":" + vendorCode +"\",\"vendorName\":"+vendorName+"\",\"vendorType\":\""+vendorType
				+"\",\"vendorSiteName\":\""+vendorSiteName+"\"";
	}
}
